<!--
 * @Descripttion: 
 * @version: 
 * @Author: cyj
 * @Date: 2022-12-05 10:40:17
-->
<script setup>
import HeaderVue from './layout/Header.vue';
import MainVue from './layout/Main.vue';
import FooterVue from './layout/Footer.vue'
import { loginStatus } from '@/api/login/login.js'
import { getItem } from '@/utils/utils.js'
//是否登录
async function isLogin() {
  let res = await loginStatus(getItem('cookie'))
  console.log(res);
  // console.log(res.data.data.profile);
}
isLogin()

</script>

<template>
  <div id="app">
    <!-- 头部 -->
    <HeaderVue></HeaderVue>
    <MainVue></MainVue>
    <FooterVue></FooterVue>
  </div>
</template>

<style scoped lang="scss">
// @import "assets/css/base.css";

// 设置了这个滚动条才会正常  不会直接出现网页的单独滚动条 来影响自己设置的滚动条
#app {
  width: 100%;
  height: 100vh;
  position: fixed;
}
</style>
